package com.lzy.system.organization.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 角色对应导航
 * </p>
 *
 * @author lcc
 * @since 2023-12-06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_role_nav")
@ApiModel(value = "SysRoleNav对象", description = "角色对应导航")
public class SysRoleNav implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("角色id")
    @TableField("role_id")
    private Integer role_id;

    @ApiModelProperty("导航id")
    @TableField("nav_id")
    private Integer nav_id;
}
